package gentle.service;

import com.baomidou.mybatisplus.plugins.Page;
import gentle.entity.PaymentRecordInfo;
import gentle.entity.SearchPaymentRecordInfo;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.HashMap;
import java.util.List;

/**
 *
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IPaymentRecordService {
    HashMap sumBorrowAmount(String checkoutMethod,String reach,String fieldTc,String doctor,String startTime,String customerStatus,String endTime,String abbreviation);

    int updateCheckoutMethod(PaymentRecordInfo paymentRecordInfo);

    List<PaymentRecordInfo> selectPageListInfo(Page<PaymentRecordInfo> page, SearchPaymentRecordInfo info);

    int getQueryPagesCount(Page<PaymentRecordInfo> page, SearchPaymentRecordInfo info);

    void reservationsExport( SearchPaymentRecordInfo searchInfo, HttpServletResponse response);
}